package com.ywd.materials.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 物资装箱信息实体类
 */
@Accessors(chain = true)
@Data
@TableName("materials_goods_pkg")
public class MaterialsGoodsPkgEntity implements Serializable {
    /**
     * 物资关联仓库ID
     */
    @Schema(description = "物资关联仓库ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 物资ID
     */
    @Schema(description = "物资ID")
    private Long materialsGoodsId;
    /**
     * 仓库ID
     */
    @Schema(description = "仓库ID")
    private Long materialsWarehouseId;
    /**
     * 库存类型(前置库存,本仓库存)
     */
    @Schema(description = "库存类型(前置库存=PRE|前置库存,本仓库存=SELF|本仓库存)")
    private String type;
    /**
     * 箱规格
     */
    @Schema(description = "箱规格")
    private Integer boxSize;
    /**
     * 物资来源
     */
    @Schema(description = "物资来源")
    private String source;
    /**
     * 物资状态(IN|入库中, SCAN|已扫码, OK|已入库, OUT|出库中, USED|已使用, DIVIDE|已拆分)
     */
    @Schema(description = "物资状态(IN|入库中, SCAN|已扫码, OK|已入库, OUT|出库中, USED|已使用, DIVIDE|已拆分)")
    private String status;
    /**
     * 二维码URL
     */
    @Schema(description = "二维码URL")
    private String codeUrl;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;


}
